home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_13_05 / colton / ips_head.h < prev    next >
C/C++ Source or Header  |  1995-02-21  |  266b  |  23 lines

  1. /*
  2.  * Listing 4 - ips_header.h
  3.  */
  4.  
  5. #ifndef _IPS_IMAGE_H
  6. #define _IPS_IMAGE_H
  7.  
  8. #include <X11/Xlib.h>
  9.  
  10. typedef struct {
  11.     int    cmap_count;
  12.     int    bpp;
  13.     int width;
  14.     int height;
  15. } ips_header;
  16.  
  17. typedef struct {
  18.     XColor        cmap[256];
  19.     unsigned char    *data;
  20. } ips_image;
  21.  
  22. #endif
  23.